package com.zkthink.ceres.product.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * <p>
 * 实体类
 * 平台贡献值设置
 * </p>
 *
 * @author CHENKE
 * @since 2020-11-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ProductContributionConfigSaveDTO", description = "平台贡献值设置")
public class ProductContributionConfigSaveDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Long productId;

    /**
     * 贡献值：折扣*倍数
     */
    @ApiModelProperty(value = "贡献值：折扣*倍数")
    private Integer discountContribution;

    /**
     * 贡献值：商品售价*倍数
     */
    @ApiModelProperty(value = "贡献值：商品售价*倍数")
    private Integer saleContribution;
    /**
     * 逻辑删除 1-删除 0-未删除
     */
    @ApiModelProperty(value = "逻辑删除 1-删除 0-未删除")
    private Integer isDelete;
}
